package com.zzyl.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Reservation", description = "小程序端预约")
public class ReservationDto {

    @ApiModelProperty(value = "主键ID", example = "1")  
    private Long id;  

    @ApiModelProperty(value = "预约人姓名", required = true, example = "张三")  
    private String name;  
  
    @ApiModelProperty(value = "预约人手机号", required = true, example = "13800000000")
    private String mobile;  
  
    @ApiModelProperty(value = "预约时间", required = true, example = "2023-04-01T10:00:00")
    private LocalDateTime time;  
  
    @ApiModelProperty(value = "探访人", required = true, example = "李四")
    private String visitor;  
  
    @ApiModelProperty(value = "预约类型，0：参观预约，1：探访预约", required = true, example = "0")
    private Integer type;  
  
    @ApiModelProperty(value = "预约状态，0：待报道，1：已完成，2：取消，3：过期", required = true, example = "0")
    private Integer status;  
  
    @ApiModelProperty(value = "创建时间", required = true, example = "2023-04-01T08:00:00")
    private LocalDateTime createTime;  
  
    @ApiModelProperty(value = "更新时间", example = "2023-04-01T10:00:00")
    private LocalDateTime updateTime;  
  
    @ApiModelProperty(value = "创建人id", example = "1")
    private Long createBy;  
  
    @ApiModelProperty(value = "更新人id", example = "1")
    private Long updateBy;  
  
    @ApiModelProperty(value = "备注", example = "无特别备注")
    private String remark;  

}